home *** CD-ROM | disk | FTP | other *** search
- ' Chinese Checkers Shareware Installation Script
- ' Copyright 1992, ImagiSOFT, Inc.
- ' October 1, 1992
-
- ' Note: This installation script is written for THE FINISHING TOUCH, a
- ' professional installation program which is also an ImagiSOFT
- ' product. It is distributed with Chinese Checkers to make installation
- ' easier -- especially for disk vendors.
-
- ' This script does not unpack compressed files which is a
- ' major feature of the program. For more information about
- ' THE FINISHING TOUCH, call ImagiSOFT at (505) 275-1920.
- ' Our FAX number is (505) 275-9697.
-
- ' You can download the shareware version from Software Creations BBS:
- ' (508) 368-7036 2400 - 9600 Baud, N, 8, 1 (33 lines)
- ' Download the file FINISH2?.ZIP.
-
-
- BACKGROUND 63
-
- WINOPEN 0 2 111
-
- ""
- " brings you"
- ""
- ""
- " (Fully Working Shareware Evaluation Copy)"
-
- WINUPDATE +11 +1 110
- "THE THOMPSON PARTNERSHIP"
-
- WINUPDATE +9 +4 110
- "CHINESE CHECKERS VERSION 2.0"
-
-
- TELESCOPE ON
- SHADOW ON
- SPACE 360
-
- :EGA_TEST
- VIDEO EGA
- JUMP.NO NO_EGA
-
- :PROMPT
- DRIVE C 0 11 31 15 32 14 79
- PATH \CHINESE 0 11 31 15 32 14 79
-
- EXIST ~1~2\*.*
- JUMP.NO UNPACK
-
- EXIST ~1~2\CHINESE.EXE
- JUMP.YES UNPACK
-
- WINOPEN 0 10 79
- "The directory ~1~2 already exists and contains files!"
- ""
- " Installing Chinese Checkers in this directory will"
- ""
- " in this directory prior to installing."
- ""
- "Are you SURE you want to install it here Y or N?"
- WINUPDATE +45 +7 78
- "Y"
- WINUPDATE +50 +7 78
- "N"
- WINUPDATE +17 +4 78
- "DELETE ALL THE FILES"
- BEEP
- ASK +52 +7
- WINCLOSE
- JUMP.NO PROMPT
-
- :UNPACK
- PROMPT OFF
- DELETE ~1~2\*.* 1 24 51
- PROMPT ON
- COPY ~0\CHINESE.* ~1~2\ 0 12 31
- JUMP.FAIL INSTALL_FAILURE
- COPY ~0\CC*.* ~1~2\ 0 12 31
- COPY ~0\VENDOR.DOC ~1~2\ 0 12 31
- COPY ~0\*.ME ~1~2\ 0 12 31
-
-
- :PRINT_ORDER
- WINOPEN 0 11 31
- "Would you like to PRINT the Order Form Y or N?"
- WINUPDATE +43 +1 30
- "Y"
- WINUPDATE +48 +1 30
- "N"
- ASK +50 +1
- WINCLOSE
- JUMP.NO BATCH_FILE
-
- WINOPEN 0 11 79
- ""
- " Printing . . . "
- ""
- PRINT ~1~2\CC_ORDER.TXT
- WINCLOSE
- JUMP.FAIL ORDER_ERROR
- JUMP RUN
-
- :ORDER_ERROR
- WINOPEN 0 10 79
- "Your Printer is not responding. Possible problems:"
- ""
- " -- Printer is not turned on"
- " -- Printer is out of paper"
- " -- Printer is not attached to LPT1 (parallel port 1)"
- ""
- "Do you want to try to print again Y or N?""
- WINUPDATE +37 +7 78
- "Y"
- WINUPDATE +42 +7 78
- "N"
- ASK +44 +7
- WINCLOSE
- JUMP.YES PRINT_ORDER
-
- ' ---------------------------------
- ' should we write batch file y / n?
- ' ---------------------------------
-
- :BATCH_FILE
- WINOPEN 0 10 31
- "Most people prefer having a batch file created which makes"
- "running Chinese Checkers easier. If you answer YES to the"
- "next question, we will write the file ~1\CHINESE.BAT"
- "so that you can run Chinese Checkers from the root directory"
- "by entering the simple command: CHINESE."
- ""
- "Do you want us to write this batch file for you Y or N?"
- WINUPDATE +40 +3 27
- "~1\CHINESE.BAT"
- WINUPDATE +34 +5 27
- "CHINESE"
- WINUPDATE +52 +7 30
- "Y"
- WINUPDATE +57 +7 30
- "N"
- ASK +59 +7
- WINCLOSE
- JUMP.NO DONE2
-
- ' ----------------
- ' write batch file
- ' ----------------
-
- EXIST ~1\CHINESE.BAT
- JUMP.NO DOS_PROMPT
- PROMPT OFF
- DELETE ~1\CHINESE.BAT 1 24 51
- PROMPT ON
-
- :DOS_PROMPT
- DOS 3.3
- JUMP.NO OLD_DOS
-
- FILE ~1\CHINESE.BAT
- "@~1"
- "@cd ~2"
- "@chinese"
- "@cd \"
- JUMP DONE
-
- :OLD_DOS
- FILE ~1\CHINESE.BAT
- "echo off"
- "~1"
- "cd ~2"
- "cls"
- "chinese"
- "cd \"
-
-
- ' -----------------------
- ' successfully installed!
- ' -----------------------
-
- :DONE
-
- SHADOW ON
- WINOPEN 0 10 31
- "CHINESE CHECKERS HAS BEEN SUCCESSFULLY INSTALLED."
- " To run it, enter the command CHINESE"
- " from the root directory of drive ~1."
- ""
- ""
- ""
- "Press [ENTER] to continue."
- WINUPDATE +35 +2 30
- "CHINESE"
- WINUPDATE +5 +5 27
- "THANK YOU FOR CHOOSING OUR SOFTWARE!"
- WINUPDATE +9 +7 30
- "ENTER"
- WAIT +28 +7
- WINCLOSE
- JUMP RUN_IT
-
- ' -------------------------------------------------
- ' successfully installed (version 2, no batch file)
- ' -------------------------------------------------
-
- :DONE2
-
- SHADOW ON
- WINOPEN 0 11 31
- "CHINESE CHECKERS HAS BEEN SUCCESSFULLY INSTALLED."
- " To run it, enter the command CHINESE"
- " from the ~1~2 directory."
- ""
- ""
- ""
- "Press [ENTER] to continue."
- WINUPDATE +35 +2 30
- "CHINESE"
- WINUPDATE +5 +5 27
- "THANK YOU FOR CHOOSING OUR SOFTWARE!"
- WINUPDATE +9 +7 30
- "ENTER"
- WAIT +28 +7
- WINCLOSE
-
- :RUN_IT
- WINOPEN 0 11 31
- "Would you like to run CHINESE CHECKERS Right Now Y or N?"
- WINUPDATE +53 +1 30
- "Y"
- WINUPDATE +58 +1 30
- "N"
- ASK +60 +1
- JUMP.NO EXIT
-
- EXIST ~1\CHINESE.BAT
- JUMP.NO EXE_RUN
- RUN ~1\CHINESE.BAT
- :EXE_RUN
- RUN ~1~2\CHINESE.EXE
-
- :EXIT
-
- END
-
- :INSTALL_FAILURE
-
- WINOPEN 0 10 79
-
- "THE INSTALLATION PROGRAM FAILED PRIOR TO COMPLETION!"
- ""
- "Possible reasons:"
- " -- The floppy disk was damaged during shipping."
- " -- Your disk drive is out of alignment."
- " -- The floppy disk was removed prior to completion."
- ""
- "Press [Enter] to remove incomplete program files."
-
- WAIT +50 +8
-
- PROMPT OFF
- DELETE ~1~2\*.* 0 0 31
- RD ~1~2
- DELETE ~1\CHINESE.BAT 0 0 31
- PROMPT ON
-
- WINCLOSE
- WINCLOSE
-
- WINOPEN 0 0 31
-
- "PARTIALLY INSTALLED FILES ARE NOW DELETED."
- ""
- "Please try to install the software again."
- ""
- "If you get this error message again, please"
- "contact your disk vendor for a replacement
- "disk."
- ""
- "Press [Enter] to Quit."
-
- WAIT +9 +24
- EXIT
-
-
- :NO_EGA
-
- WINOPEN 0 11 79
-
- "CHINESE CHECKERS REQUIRES AN EGA (OR BETTER) MONITOR TO RUN."
- "Sorry, but it won't run on your computer."
- ""
- " Press [Enter] to Quit."
-
- WAIT +29 +4
-